package com.wjw.lawofdemeter.law02;

/**
 * TODO: 描述
 *
 * @author ikaros
 * @date 2024/7/12 0:20
 * @see <a href="ikaros@qq.com">mailTo: ikaros@qq.com</a>
 */
public class Staff {
    /**
     * 音响
     */
    private Sound sound;

    public Staff(Sound sound) {
        this.sound = sound;
    }
    /**
     * 搬运
     */
    public void work() {
        System.out.println("工作人员:将音响搬运到舞台上");
        this.getSound().play("工作人员");
    }

    public Sound getSound() {
        return sound;
    }

    public void setSound(Sound sound) {
        this.sound = sound;
    }
}
